package top.yxqz.spring.ioc.dao.impl;

import org.springframework.stereotype.Repository;
import top.yxqz.spring.ioc.dao.UserDao;

/**
 * @author: 余小小
 * @date: 2023/4/6
 * @description： 处理持久层
 * Repository :将类标识为持久层组件
 */
@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public void sayUserHello() {
        System.out.println("你好 UserHello");
    }
}
